package com.example.model;

public class MyNotifications {
  private String email;
  private int  status;

/**
 * @return the toStatus
 */
public int getStatus() {
	return status;
}

/**
 * @param toStatus the toStatus to set
 */
public void setStatus(int toStatus) {
	this.status = toStatus;
}
public void setStatus(String status){
	if(status != null && status.length() > 0){
		this.status  = Integer.parseInt(status);
	}else{
		this.status = -1;
	}
	
}

/**
 * @return the email
 */
public String getEmail() {
	return email;
}

/**
 * @param email the email to set
 */
public void setEmail(String email) {
	this.email = email;
}

  
  
}
